package de.saarland.uni.lego3d;

import java.awt.Color;

import de.saarland.uni.lego3d.server.Legobrick;
import de.saarland.uni.lego3d.server.Server;
import de.saarland.uni.lego3d.server.gui.MainGUI;
import de.saarland.uni.lego3d.server.gui.emulator.KinectEmulator;

/**
 * This class just contains the main method for the Lego3D application and creates a new Server
 * as well the Lego3D GUI
 */
public class Lego3D {

	public static final boolean DEBUG = false;
	
	/**
	 * Main method
	 * @param args
	 */
	public static void main (String[] args) {
		new Server();
		Server.gui = new MainGUI();

		Server.gui.setNewBrick(new Legobrick(new int[] {1,1,1,1,1,1}, Color.RED.getRGB()));
		KinectEmulator emu = new KinectEmulator();
	}
	
}
